<%--
    Document   : breadcrumbs
    Created on : 25/02/2010, 10:11:53 AM
    Author     : Emmanuel
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>
<jsp:useBean id="TreeController" scope="session" class="Tree.DHTMLX.controller.TreeController"/>
<f:view>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <script language="javascript" type="text/javascript" src="<%= request.getContextPath()%>/dhtmlx/dhtmlxTree/ext/dhtmlxtree_start.js"></script>
            <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/dhtmlx/dhtmlxTree/dhtmlxtree.css">
            <script language="javascript" type="text/javascript" src="<%= request.getContextPath()%>/dhtmlx/dhtmlxTree/dhtmlxcommon.js"></script>
            <script language="javascript" type="text/javascript" src="<%= request.getContextPath()%>/dhtmlx/dhtmlxTree/dhtmlxtree.js"></script>
            <script language="javascript" type="text/javascript">
                var tree = dhtmlXTreeFromHTML("treeboxbox_tree");
                tree.set
            </script>
            <title>Tree DHTMLX</title>
        </head>
        <body>
            <div class="dhtmlxTree"
                 id="treeboxbox_tree"
                 setImagePath="<%= request.getContextPath()%>/dhtmlx/dhtmlxTree/imgs/csh_books/"
                 style="width:250px; height:350px;overflow:auto;">

                <%= TreeController.imprimirArbolHtml()%>

            </div>
            <!--
                            <ul>
                                <li>Root
                                    <ul>
                                        <li>Child1
                                            <ul>
                                                <li>Child 1-1</li>
                                            </ul>
                                        <li>Child2</li>
                                        <li>Child3</li>
                                    </ul>
                                </li>
                                <li>Root
                                    <ul>
                                        <li>Child1
                                            <ul>
                                                <li>Child 1-1</li>
                                            </ul>
                                        <li>Child2</li>
                                        <li>Child3</li>
                                    </ul>
                                </li>
                            </ul>
            -->
        </body>
    </html>
</f:view>